//管理子功能模块-待报名课程
import courseData from '../../../data/course';
import cartData from '../../../data/cart';

import Render from './Render';


//管理子功能模块-课程列表
export default class Cart {
  constructor(oCart, observer) {
    this.oCart = oCart;
    this.observer = observer;
    this.courseData = courseData;
    this.cartData = cartData;

  }

  init() {
    //渲染函数需要：容器/处理好的数据/观察者observer
    new Render(this.oCart, this.courseData, this.cartData, this.observer);

  }
}